package com.itCar.base.api.entityJson.controller;

import com.itCar.base.api.entityJson.entity.EntityVo;
import com.itCar.base.api.entityJson.service.EntityJsonService;
import com.itCar.base.config.result.ResultBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

/**
 * @ClassName EntityJsonController
 * @Description TODO 补充说明:
 * @Author liuzhiguo
 * @Date 2024/1/2 16:07
 * @Version 1.0
 */
@RestController
@RequestMapping(value = "/entityJson", produces = "application/json")
@Api(tags = "实体类结构")
public class EntityJsonController {

    @Autowired
    public EntityJsonService service;

    @GetMapping(value = "/getEntityJson")
    @ApiOperation(value = "获取实体类信息")
    public ResultBody getEntityJson( EntityVo entityVo){
        return ResultBody.success(service.getEntityJson(entityVo));
    }

}
